
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>


<link href="${pageContext.request.contextPath}/protected/css/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.11.1.js"></script>
<script type="text/javascript" src="../js/script.js"></script>
<%@ include file="top.jsp" %>
<%@ include file="menu.jsp" %>
<%@include file="core.jsp" %>
<div class="core" >
	
	<table border="2" style="border-color: black">
	<tr>
	  <td ><label style="color: green">NOME COMPETENZA</label></td>
	  <td colspan="2"> <label style="color: green">DESCRIZIONE COMPETENZA</label></td>
	</tr>	
	 <logic:iterate id="competenza" name="cps">
	  <tr>
	    
	    <td style="text-align: center"><bean:write name="competenza" property="nome"/></td>
	    
	     <td ><bean:write name="competenza" property="descrizione"/></td>
	     <td><html:link action="/admin/RemoveComp" paramId="id2del" paramName="competenza" paramProperty="id" style="text-color:black;">Del</html:link></td>
	  </tr>
	  </logic:iterate>
	</table>
	
	<html:form action="/admin/InsertCompetenza" method="GET">
	
	<label for="competenza_nome">nome</label>
	<html:textarea property="competenza.nome" value="" styleId="competenza_nome"></html:textarea>
	<label for="competenza_descrizione">descrizione</label>
	<html:textarea property="competenza.descrizione" value="" styleId="competenza_descrizione"></html:textarea>
	
	
	<html:submit>Inserisci Competenza</html:submit>
	
	</html:form>
	</div>

